<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/11/4
  Time: 18:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>data</title>
</head>
<body>
<div class="container">
    <h1>hibernate测试</h1>
    <hr/>
        <table class="table table-bordered table-striped">
            <tr>
                <th>ID</th>
                <th>name</th>
                <th>PID</th>
                <th>Type</th>
            </tr>
            <c:forEach items="${dataList}" var="data">
                <tr>
                    <td>${data.dataId}</td>
                    <td>${data.dataName}</td>
                    <td>${data.dataPid}</td>
                    <td>${data.dataType}</td>
                </tr>
            </c:forEach>
        </table>
</div>
</body>
</html>
